int EncValues[] = {
	4, 0, 5611, 2563, 2900, 
	4, 1, 5220, 3143, 4813, 
	4, 2, 2481, 834, 81, 
	4, 3, 6265, 4064, 4265, 
	4, 4, 1055, 2914, 5638, 
	4, 5, 1734, 2182, 3315, 
	4, 6, 3342, 5678, 2246, 
	4, 7, 2185, 552, 3385, 
	4, 8, 2615, 236, 5334, 
	4, 9, 1546, 1755, 3846, 
	4, 10, 4154, 5561, 3142, 
	4, 11, 4382, 2957, 5400, 
	4, 12, 1209, 5329, 3179, 
	4, 13, 1421, 3528, 6063, 
	4, 14, 1480, 1072, 5398, 
	4, 15, 3843, 1777, 4369, 
	4, 16, 1334, 2145, 4163, 
	4, 17, 2368, 5055, 260, 
	3, 0, 6118, 5405, 
	3, 1, 2994, 4370, 
	3, 2, 3405, 1669, 
	3, 3, 4640, 5550, 
	3, 4, 1354, 3921, 
	3, 5, 117, 1713, 
	3, 6, 5425, 2866, 
	3, 7, 6047, 683, 
	3, 8, 5616, 2582, 
	3, 9, 2108, 1179, 
	3, 10, 933, 4921, 
	3, 11, 5953, 2261, 
	3, 12, 1430, 4699, 
	3, 13, 5905, 480, 
	3, 14, 4289, 1846, 
	3, 15, 5374, 6208, 
	3, 16, 1775, 3476, 
	3, 17, 3216, 2178, 
	3, 0, 4165, 884, 
	3, 1, 2896, 3744, 
	3, 2, 874, 2801, 
	3, 3, 3423, 5579, 
	3, 4, 3404, 3552, 
	3, 5, 2876, 5515, 
	3, 6, 516, 1719, 
	3, 7, 765, 3631, 
	3, 8, 5059, 1441, 
	3, 9, 5629, 598, 
	3, 10, 5405, 473, 
	3, 11, 4724, 5210, 
	3, 12, 155, 1832, 
	3, 13, 1689, 2229, 
	3, 14, 449, 1164, 
	3, 15, 2308, 3088, 
	3, 16, 1122, 669, 
	3, 17, 2268, 5758, 
	3, 0, 5878, 2609, 
	3, 1, 782, 3359, 
	3, 2, 1231, 4231, 
	3, 3, 4225, 2052, 
	3, 4, 4286, 3517, 
	3, 5, 5531, 3184, 
	3, 6, 1935, 4560, 
	3, 7, 1174, 131, 
	3, 8, 3115, 956, 
	3, 9, 3129, 1088, 
	3, 10, 5238, 4440, 
	3, 11, 5722, 4280, 
	3, 12, 3540, 375, 
	3, 13, 191, 2782, 
	3, 14, 906, 4432, 
	3, 15, 3225, 1111, 
	3, 16, 6296, 2583, 
	3, 17, 1457, 903, 
	3, 0, 855, 4475, 
	3, 1, 4097, 3970, 
	3, 2, 4433, 4361, 
	3, 3, 5198, 541, 
	3, 4, 1146, 4426, 
	3, 5, 3202, 2902, 
	3, 6, 2724, 525, 
	3, 7, 1083, 4124, 
	3, 8, 2326, 6003, 
	3, 9, 5605, 5990, 
	3, 10, 4376, 1579, 
	3, 11, 4407, 984, 
	3, 12, 1332, 6163, 
	3, 13, 5359, 3975, 
	3, 14, 1907, 1854, 
	3, 15, 3601, 5748, 
	3, 16, 6056, 3266, 
	3, 17, 3322, 4085, 
	3, 0, 1768, 3244, 
	3, 1, 2149, 144, 
	3, 2, 1589, 4291, 
	3, 3, 5154, 1252, 
	3, 4, 1855, 5939, 
	3, 5, 4820, 2706, 
	3, 6, 1475, 3360, 
	3, 7, 4266, 693, 
	3, 8, 4156, 2018, 
	3, 9, 2103, 752, 
	3, 10, 3710, 3853, 
	3, 11, 5123, 931, 
	3, 12, 6146, 3323, 
	3, 13, 1939, 5002, 
	3, 14, 5140, 1437, 
	3, 15, 1263, 293, 
	3, 16, 5949, 4665, 
	3, 17, 4548, 6380, 
	3, 0, 3171, 4690, 
	3, 1, 5204, 2114, 
	3, 2, 6384, 5565, 
	3, 3, 5722, 1757, 
	3, 4, 2805, 6264, 
	3, 5, 1202, 2616, 
	3, 6, 1018, 3244, 
	3, 7, 4018, 5289, 
	3, 8, 2257, 3067, 
	3, 9, 2483, 3073, 
	3, 10, 1196, 5329, 
	3, 11, 649, 3918, 
	3, 12, 3791, 4581, 
	3, 13, 5028, 3803, 
	3, 14, 3119, 3506, 
	3, 15, 4779, 431, 
	3, 16, 3888, 5510, 
	3, 17, 4387, 4084, 
	3, 0, 5836, 1692, 
	3, 1, 5126, 1078, 
	3, 2, 5721, 6165, 
	3, 3, 3540, 2499, 
	3, 4, 2225, 6348, 
	3, 5, 1044, 1484, 
	3, 6, 6323, 4042, 
	3, 7, 1313, 5603, 
	3, 8, 1303, 3496, 
	3, 9, 3516, 3639, 
	3, 10, 5161, 2293, 
	3, 11, 4682, 3845, 
	3, 12, 3045, 643, 
	3, 13, 2818, 2616, 
	3, 14, 3267, 649, 
	3, 15, 6236, 593, 
	3, 16, 646, 2948, 
	3, 17, 4213, 1442, 
	3, 0, 5779, 1596, 
	3, 1, 2403, 1237, 
	3, 2, 2217, 1514, 
	3, 3, 5609, 716, 
	3, 4, 5155, 3858, 
	3, 5, 1517, 1312, 
	3, 6, 2554, 3158, 
	3, 7, 5280, 2643, 
	3, 8, 4990, 1353, 
	3, 9, 5648, 1170, 
	3, 10, 1152, 4366, 
	3, 11, 3561, 5368, 
	3, 12, 3581, 1411, 
	3, 13, 5647, 4661, 
	3, 14, 1542, 5401, 
	3, 15, 5078, 2687, 
	3, 16, 316, 1755, 
	3, 17, 3392, 1991
};

int N_LDPC   = 64800;
int K_LDPC   = 58320;
int NmK_LDPC = 6480;
int M_LDPC   = 360;
int Q_LDPC   = 18.0;
int N_LINES  = 162;


